# $Id: PKGBUILD 68381 2012-03-23 15:45:56Z rvanharen $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
# Contributor: nesl247 <nesl247@gmail.com>

pkgname=compizconfig-python
pkgver=0.8.4
pkgrel=4
pkgdesc="Compizconfig bindings for python"
arch=('i686' 'x86_64')
url="http://opencompositing.org"
license=('GPL')
depends=('compiz-core' 'libcompizconfig' 'glib2' 'python2' 'libxrandr')
makedepends=('intltool' 'pkgconfig' 'pyrex')
conflicts=('compizconfig-python-git')
source=(http://releases.compiz-fusion.org/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('702f83f63ce5dc3c6c1d27e07fb62fc3')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  PYTHON=python2 ./configure --prefix=/usr

  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}
